package com.sabastian.springframework.beans.factory.config;

import com.sabastian.springframework.beans.BeansException;

/**
 * @author Ciel Phantomhive
 * @description
 * @date 2023/1/27 13:20
 */
public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor {

    /**
     * 在 Bean 对象执行初始化方法之前，执行此方法
     */
    Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException;
}
